package com.shiguiwu.springboot3.java9;

import lombok.extern.slf4j.Slf4j;
import lombok.extern.slf4j.XSlf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @description: 接口
 * @author: stone
 * @date: Created by 2023/7/9 16:27
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springboot3.java9
 */
public interface Java9Api {
    public static Logger LOGGER = LoggerFactory.getLogger(Java9Api.class);

    default void test() {
        privateTest();
    }

    private void privateTest() {
        LOGGER.info("私有方法 ===> {}", this);
    }
}
